@import "./var.less";

.dialog-fade-enter-active {
  animation: dialog-fade-in 0.3s;
}

.dialog-fade-leave-active {
  animation: dialog-fade-out 0.3s;
}

@keyframes dialog-fade-in {
  0% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes dialog-fade-out {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }
}
.ex-dialog__wrapper {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  .ex-dialog {
    width: 30%;
    margin: 0 auto 50px;
    background-color: @--dialog-background-color;
    border-radius: @--dialog-border-radius;
  }
  .ex-dialog__header {
    position: relative;
    padding: 10px;
    text-align: center;
    color: #000;
    border-bottom: 1px solid #ddd;
  }
  .ex-dialog__headerbtn {
    position: absolute;
    left: 10px;
    top: 40%;
    div {
      width: 10px;
      height: 10px;
      background-color: @-topbar-traffic-red;
      border-radius: 50%;
    }
  }
}
